Prizm Content Connect
Format Detection Configuration & Use

Prizm Services rely on the WorkFile for the temporary storage of files so they can be shared by the various services which operate on them. By default, Format Detection is enabled for all files added to the WorkFile service either directly or through viewing sessions. Users may wish to disable format detection to gain a small reduction in processing. Format Detection may be configured by editing the Watchdog configuration file located in the following default directories:

The Workfile service configuration provides a Boolean parameter to enable or disable Format Detection:

Example
Copy Code
"workfileService": {
      ...
      "formatDetection": {
         "enabled": true
      },
      ...
},

Enabled Format Detection Behavior

The Format Detection Services can uniquely identify a large number of file types including office documents, imaging formats, CAD formats, and many others. The addition of Format Detection makes the FileExtension parameters in the WorkFile and ViewingSession APIs optional in most cases. 

When a document is identified by the Format Detection Service, if no extension is provided, the detected format and file extension will be associated with the document. 

In the case where the document cannot be identified by the Format Detection Service, it a file extension was provided, then that extension will be used as a fallback to be associated with the document. If the document cannot be identified and no file extension was provided, an error code will be returned. See the WorkFile or ViewingSession API for more details.

Disabled Format Detection Behavior

When Format Detection is disabled, a file extension must always be provided when adding a document through the WorkFile or ViewingSession APIs.

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback